package com.wk.springbootlearn.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("创建团队")
@Data
public class TeamForm {
    @ApiModelProperty(value = "团队名称", required = true)
    @NotNull(message = "团队名称不能为空")
    private String teamName;
}
